import { reactive } from 'vue';

const state = reactive<{
  /**
   *
   */
  uploadStatus: string[];
  /**
   * id
   */
  id?: '';
  /**
   * 用户图片链接
   */
  facePicUrl: string;
  /**
   * 人脸图片是否上传 1是 2否
   */
  isFacePic?: 1 | 2;
  /**
   *人脸图片下发状态 1未下发 2下发中 3下发成功 4下发失败
   */
  distributionStatus?: 1 | 2 | 3 | 4;
}>({
  id: '',
  facePicUrl: '',
  isFacePic: 2,
  distributionStatus: 1,
  uploadStatus: ['', ''],
});

export { state };
